import { handleActions } from "redux-actions";
import { ADMINS_LOGIN,ADMINS_REG } from "../types";

const InitData = {
    username:"z3",
    password:123
}

export const admins = handleActions({
    [ADMINS_LOGIN]: (state, { payload }) => {
        // const {username,password}=payload;
        return state
    },
    [ADMINS_REG]:(state, { payload }) => {
        // const {username,password}=payload;
        return state
    }
}, InitData)